﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VRacer;

namespace ConsoleClient
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.ReadLine();

            var game = new RemoteGame();
            game.PacketReceived += new VRacer.Packets.PacketReceivedHandler(game_PacketReceived);
            game.Initialize();

            Console.ReadLine();
        }

        static void game_PacketReceived(object sender, VRacer.Packets.PacketBase packet)
        {
            Console.WriteLine(packet);
        }
    }
}
